package com.tuyou.cloud.feign.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient(value = "23", path = "/feign/user", url = "localhost:7102")
public interface UserClient {

    @GetMapping("/email/{ids}")
    List<String> getEmail(@PathVariable("ids") String ids);
}